<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>form-demo</title>
</head>
<body>
 <form action="/form-demo-get" method="get">
     <input type="text" name="username" placeholder="用户名"/>
     <input type="password" name="password" placeholder="密码"/>
     <button type="submit">登录get</button>
 </form>

 <hr>

 <form action="/form-demo-psot" method="post">
     <input type="text" name="username" placeholder="用户名"/>
     <input type="password" name="password" placeholder="密码"/>
     <button type="submit">登录post</button>
 </form>
</body>
</html>